package com.cpecc.manager.wuzi;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cpecc.dao.wuzi.XiuGaiJLDao;
import com.cpecc.model.wuzi.WuZi;
import com.cpecc.model.wuzi.XiuGaiJL;
@Service
@Transactional
public class XiuGaiJLManager {

	@Autowired
	private XiuGaiJLDao xiuGaiJLDao;
	
	public void save(XiuGaiJL xiuGaiJL){
		xiuGaiJLDao.save(xiuGaiJL);
	}
	
	public List<XiuGaiJL> getAllByWuZi(WuZi wuZi){
		return xiuGaiJLDao.getAllByWuZi(wuZi);
	}
}
